package com.example.myblog.entity;

public class Article {
        private int id;
        private String updatetime;
        private int likes;
        private int comments;
        private int user_id;
        private String content;
        private String title;

        public void setId(int id) {
                this.id = id;
        }
        public int getId() {
                return id;
        }
        public void setComments(int comments) {
                this.comments = comments;
        }
        public int getComments() {
                return comments;
        }
        public void setLikes(int likes) {
                this.likes = likes;
        }
        public int getLikes() {
                return likes;
        }
        public void setUpdatetime(String updatetime) {
                this.updatetime = updatetime;
        }
        public String getUpdatetime() {
                return updatetime;
        }

        public void setUser_id(int user_id) {
                this.user_id = user_id;
        }

        public int getUser_id() {
                return user_id;
        }

        public void setContent(String content) {
                this.content = content;
        }

        public String getContent() {
                return content;
        }

        public void setTitle(String title) {
                this.title = title;
        }

        public String getTitle() {
                return title;
        }
}
